package com.recharge.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *      信用款
 * </p>
 *
 * @author Reagan
 * @since 2020-10-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_merchant_repayment")
public class MerchantRepaymentEntity implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
      @TableId("id")
    private String id;

    /**
     * 存款记录ID
     */
    @TableField("deposit_id")
    private String depositId;

    /**
     * 存款金额
     */
    @TableField("amount")
    private Long amount;

    /**
     * 待还款金额
     */
    @TableField("no_amount")
    private Long noAmount;

    /**
     * 存款类型1.存款 2.还款
     */
    @TableField("deposit_type")
    private Integer depositType;

    /**
     * 创建时间
     */
    @TableField("create_date")
    private LocalDateTime createDate;

    /**
     * 修改时间
     */
    @TableField("modifi_date")
    private LocalDateTime modifiDate;

    /**
     * 创建人
     */
    @TableField("creator")
    private String creator;

    /**
     * 修改人
     */
    @TableField("modifier")
    private String modifier;


}
